#define _CRT_SECURE_NO_WARNINGS 1
#include"string.h"

int main()
{
	bit::string b1("hello world");
	bit::string b2(b1);
	
	bit::string b3 = "eello";

	cin >> b3;
	cout << b3;


	/*if (b1 > b3)
		cout << b1 << endl;*/

	//b2 = b1.substr(2, 3);
	///*cout << b1.substr(2, 5).c_str() << endl;;*/
	////b1.erase(1, 20);
	////b1.insert(b1.size(), "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
	////b1.insert(b1.size(), '6');
	////b1 += "b2";
	//for (auto s1 : b2)
	//{
	//	cout << s1;
	//}

	//bit::string::iterator it = b1.begin();
	//while (it != b1.end())
	//{
	//	cout << *it;
	//	++it;
	//}

	//for (auto& s1 : b1)
	//{
	//	s1 -= 1;
	//}
	//for (auto s1 : b1)
	//{
	//	cout << s1;
	//}
	return 0;
}